import { axios } from '@/utils/request'

/**
 * 查询答题方式
 *
 * @author wing
 * @date 2021-12-30 09:46:30
 */
export function wjAnswerMethodPage (parameter) {
  return axios({
    url: '/wjAnswerMethod/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 答题方式列表
 *
 * @author wing
 * @date 2021-12-30 09:46:30
 */
export function wjAnswerMethodList (parameter) {
  return axios({
    url: '/wjAnswerMethod/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加答题方式
 *
 * @author wing
 * @date 2021-12-30 09:46:30
 */
export function wjAnswerMethodAdd (parameter) {
  return axios({
    url: '/wjAnswerMethod/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑答题方式
 *
 * @author wing
 * @date 2021-12-30 09:46:30
 */
export function wjAnswerMethodEdit (parameter) {
  return axios({
    url: '/wjAnswerMethod/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除答题方式
 *
 * @author wing
 * @date 2021-12-30 09:46:30
 */
export function wjAnswerMethodDelete (parameter) {
  return axios({
    url: '/wjAnswerMethod/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出答题方式
 *
 * @author wing
 * @date 2021-12-30 09:46:30
 */
export function wjAnswerMethodExport (parameter) {
  return axios({
    url: '/wjAnswerMethod/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
